package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.sc.nft.enums.EquityTypeEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城会员权益
 * </p>
 *
 * @author author
 * @since 2024-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sc_mall_member_equity")
@ApiModel(value="ScMallMemberEquity对象", description="商城会员权益")
public class MallMemberEquity extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商城会员权益模版Id")
    private Long mallMemberEquityTemplateId;

    @ApiModelProperty(value = "商城会员Id")
    private Long mallMemberId;

    @ApiModelProperty(value = "权益类型 1 - 优惠券 2 - 商品")
    private EquityTypeEnum equityType;
}
